Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

03-lists.md: Use pop() for consistency of method over statement #686

Merged
merged 1 commit into from
Jul 26, 2019

Conversation

ldko
Copy link
Contributor

@ldko ldko commented Jul 26, 2019

This is a suggestion to resolve #669 . Since del is a statement, not a method/function, the unexplained difference in syntax may be confusing to learners. Using pop shows that you can remove a value from a list and make use of the value that was removed.

@maxim-belkin maxim-belkin self-assigned this Jul 26, 2019
@maxim-belkin maxim-belkin added the type:enhancement Propose enhancement to the lesson label Jul 26, 2019
@maxim-belkin maxim-belkin merged commit d07f044 into swcarpentry:gh-pages Jul 26, 2019
@maxim-belkin
Copy link
Contributor

Thank you very much, @ldko! 🎖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Propose enhancement to the lesson
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lesson 3 - del function
2 participants